package com.gzyj.data.common;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class PageData<T> implements Serializable {

    private Integer total;

    private List<T> data;

    public PageData(Integer total, List<T> data) {
        this.total = total;
        this.data = data;
    }
}
